package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName identity
 */
@TableName(value ="identity")
@Data
public class Identity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "identityId", type = IdType.AUTO)
    private Integer identityid;

    /**
     * 用户id
     */
    @TableField(value = "userId")
    private Integer userid;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 1-男，0-女
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 出生日期
     */
    @TableField(value = "birth")
    private Date birth;

    /**
     * 身份证号
     */
    @TableField(value = "idCard")
    private String idcard;

    /**
     * 身份证图片地址
     */
    @TableField(value = "idCardImgs")
    private String idcardimgs;

    /**
     * 资格证书
     */
    @TableField(value = "certificates")
    private String certificates;

    /**
     * 上传时间
     */
    @TableField(value = "uploadTime")
    private Date uploadtime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}